package org.spring.springboot.service;

import java.util.List;

import org.spring.springboot.domain.City;



public interface CityService {

    /**
     * 根据城市名称，查询城市信息
     * @param cityName
     */
    City findCityByName(String cityName);
    City getCityById(long id);
    List<City> findCityMore(City city);
    List<City> findCityAll();
    Long addCity(City city) throws Exception;
    int addCities(List<City> cities);
}
